package com.zr.vo.dispatch;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 调度单路线
 *
 * @author Administrator
 */
public class DispatchRoute {
    /**
     * 路线编号
     */
    private Integer id;
    /**
     * 调度单id
     */
    private String ticketId;
    /**
     * 到达城市编号
     */
    private Integer areaId;
    /**
     * 出发城市编号
     */
    private Integer lastId;
    /**
     * 预计到达时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ariveTime;
    /**
     * 实际到达时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date actualAriveTime;
    /**
     * 路线顺序
     */
    private Integer index;
    /**
     * 到达城市名称
     */
    private String areaName;
    /**
     * 出发城市名称
     */
    private String lastName;

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTicketId() {
        return ticketId;
    }

    public void setTicketId(String ticketId) {
        this.ticketId = ticketId == null ? null : ticketId.trim();
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getLastId() {
        return lastId;
    }

    public void setLastId(Integer lastId) {
        this.lastId = lastId;
    }

    public Date getAriveTime() {
        return ariveTime;
    }

    public void setAriveTime(Date ariveTime) {
        this.ariveTime = ariveTime;
    }

    public Date getActualAriveTime() {
        return actualAriveTime;
    }

    public void setActualAriveTime(Date actualAriveTime) {
        this.actualAriveTime = actualAriveTime;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }
}